/**
 * Elipsa.cpp
 *
 * Version: $Id: Elipsa.cpp 81 2012-01-07 12:13:13Z s8376@pjwstk.edu.pl $
 */
#include <iostream>
#include "Elipsa.h"

using namespace std;

void Elipsa::show()
{
    cout << "x: " << m_x << ", y: " << m_y << ", promien 1: " << m_radius
            << ", promien 2: " << m_radius_prim << endl;
}
double Elipsa::getArea()
{
    return 3.14 * (m_radius / 2) * (m_radius_prim / 2);
}
